package com.finna.tenant.entity;

import com.finna.common.entity.BaseEntity;
import lombok.*;

import java.time.LocalDateTime;

/**
 * 账号实体
 */
@Data
@Builder
@NoArgsConstructor
@AllArgsConstructor
public class Account {
    
    private Long id;

    private Long account;
    
    private String name;
    
    private String email;
    
    private String password;
    
    private String passwordSalt;
    
    private String avatar;
    
    private String interfaceLanguage;
    
    private String interfaceTheme;
    
    private String timezone;
    
    private LocalDateTime lastLoginAt;
    
    private String lastLoginIp;
    
    private LocalDateTime lastActiveAt;
    
    private String status;
    
    private LocalDateTime initializedAt;
    
    private Boolean isAdmin;

    private Boolean isSuperAdmin;

    private LocalDateTime createTime;

    private LocalDateTime updateTime;

    private Long createBy;

    private Long updateBy;

    private Boolean deleted;
}

